home *** CD-ROM | disk | FTP | other *** search
/ Carousel / CAROUSEL.cdr / mactosh / doc / findacce.doc / FINDACCESS.DOC / FINDER-ACCESS
Encoding:
Text File  |  1988-10-25  |  615 b   |  26 lines  |  [TEXT/WORD]

  1. The MacC conventions are:
  2.  
  3. /* type and constant info */
  4. #define appOpen        0
  5. #define appPrint    1
  6.  
  7. typedef struct {
  8.     short    vRefNum;    /* volume ref num for file */
  9.     OSType    fType;        /* the file's type */
  10.     short    versNum;    /* always 0?? */
  11.     Str255    fName;        /* the filename */
  12. } AppFile;
  13.  
  14. /* routines */
  15.  
  16. void CountAppFiles(message,count)
  17. short *message;        /* open files or print them */
  18. short *count;        /* number of files to handle */
  19.  
  20. void GetAppFiles(index,theFile)
  21. short index;
  22. AppFile *theFile;
  23.  
  24. void ClrAppFiles(index)
  25. short index;
  26.